<!-- 这是后台系统通用标题 -->
<template>
  <div id="title-public">
    <div class="left">
      <slot name="title"> 默认标题 </slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script lang="ts" setup></script>

<style lang="less">
#title-public {
  width: 100%;
  box-sizing: border-box;
  padding-left: 20px;
  color: #f56c6c;
  border-left: 3px solid #f56c6c;
  height: 30px;
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
</style>
